import request from '@/utils/request'

// 查询测试格列表
export function listRuoyiyinzheng(query) {
  return request({
    url: '/ruoyiyinzheng/ruoyiyinzheng/list',
    method: 'get',
    params: query
  })
}

// 查询测试格详细
export function getRuoyiyinzheng(testId) {
  return request({
    url: '/ruoyiyinzheng/ruoyiyinzheng/' + testId,
    method: 'get'
  })
}

// 新增测试格
export function addRuoyiyinzheng(data) {
  return request({
    url: '/ruoyiyinzheng/ruoyiyinzheng',
    method: 'post',
    data: data
  })
}

// 修改测试格
export function updateRuoyiyinzheng(data) {
  return request({
    url: '/ruoyiyinzheng/ruoyiyinzheng',
    method: 'put',
    data: data
  })
}

// 删除测试格
export function delRuoyiyinzheng(testId) {
  return request({
    url: '/ruoyiyinzheng/ruoyiyinzheng/' + testId,
    method: 'delete'
  })
}
